{if $is_ajax == 1}
{foreach $service_list as $k => $v}
{$value = $v.detail[0]}
<li class="clearfix">
  <h2><img src="{_image($value.goods_cover, 'small')}"/></h2>
  <p>{$value.goods_title}</p>
  <a href="{AnUrl("service/{$v.id}")}">查看详情</a>
</li>
{/foreach}
{else}
{include_core file="m/lib/header.html" title="换货单" center="center"}
{if $service_list}
<div class="list">
  <ul class="js_loadingList">
    {foreach $service_list as $k => $v}
    {$value = $v.detail[0]}
    <li class="clearfix">
      <h2><img src="{_image($value.goods_cover, 'small')}"/></h2>
      <p>{$value.goods_title}</p>
      <a href="{AnUrl("service/{$v.id}")}">查看详情</a>
    </li>
    {/foreach}
  </ul>
  <div class="more-btn"><a href="javascript:void(0);" class="arrow js_loadMore" data-url="{AnUrl('barter')}" data-page_no="1"></a></div>
  <div style="display:none;" class="js_tmpDiv"></div>
</div>
{else}
{include_core file="m/lib/dont_have_info.html" info="暂无换货单"}
{/if}
{load_js file="app/m_load.js"}
{include_core file="m/lib/footer.html" center="center"}
{/if}